<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : xhtml.xsl
    Created on : July 28, 2009, 1:46 PM
    Author     : alex
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns='http://www.w3.org/1999/xhtml' xmlns:svg="http://www.w3.org/2000/svg" xmlns:m="http://www.w3.org/1998/Math/MathML">
   
<xsl:output method="xml"/>

<xsl:template match="doc">
   <div>
      <xsl:apply-templates/>
   </div>
</xsl:template>

<xsl:template match="hello">
<button onclick="javascript:sayHello()">Hello</button>
</xsl:template>

<xsl:template match="doc/title">
<h1><xsl:apply-templates/></h1>
</xsl:template>

<xsl:template match="p">
<p><xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="svg:svg">
   <xsl:copy-of select="."/>
</xsl:template>

<xsl:template match="m:math">
   <xsl:copy-of select="."/>
</xsl:template>

</xsl:stylesheet>
